$val){ $value[$key] = cleanRecursive($value[$key]); } }else{ $value = htmlspecialchars($value, ENT_QUOTES); } return $value; } $_REQUEST = cleanRecursive($_REQUEST); $_POST = cleanRecursive($_POST); $_GET = cleanRecursive($_GET); ?> Rodapé - Terra Networks Brasil "; echo parceria($_GET['parceiro']); echo formasDePagamento($_GET['credito'], $_GET['debito']); echo menuProdutos($_GET['produtos']); echo "
"; echo siteSeguro($_GET['seguro']); echo comprePorTelefone($_GET['telefone']); echo textoLegal(); echo "
"; ?> "; return $html; } function parceria($parc) { $parceiros = array( "iped", "mcafee", "microsoft", "office", "napster", //"nuvem", "voxy", "titans", "intel" ); $html = ""; if ($parceiros != "" && $parc != "") { $html .= "
PRODUTO TERRA EM PARCERIA COM "; foreach (explode("|", $parc) as $parc) { if (in_array($parc, $parceiros)) { $html .= ""; } } $html .= "
"; return $html; } else { return ""; } } function formasDePagamento($credito, $debito) { if($credito == "" && $debito == "") return ""; $formas = array( "credito" => array( "visa", "master", "amex", "elo" ), "debito" => array( "bradesco", "itau", "bancodobrasil", "santander", //"banrisul", //"unibanco", //"real", "caixa", "hsbc" ) ); $html = "
FORMAS DE PAGAMENTO: "; if($credito != "") { $html .= "
Cartão de crédito"; if($credito == "todos") { foreach($formas['credito'] as $forma) { $html .= ""; } } else { foreach(explode("|", $credito) as $forma) { if(in_array($forma, $formas['credito'])) $html .= ""; } } $html .= "
"; } if($debito != "") { $html .= "
Débito Automático"; if($debito == "todos") { foreach($formas['debito'] as $forma) { $html .= ""; } } else { foreach(explode("|", $debito) as $forma) { if(in_array($forma, $formas['debito'])) $html .= ""; } } $html .= "
"; } $html .= "
"; return $html; } function menuProdutos($show) { if(strtolower($show) === "false" || $show === "0") return ""; return " "; } function siteSeguro($show) { if($show && strtolower($show) !== "false") { return "
Site Seguro - Garantido pelo terra
"; } } function comprePorTelefone($show) { if($show && strtolower($show) !== "false") { return "
Compre por telefone 0800-777-1234
"; } } function textoLegal() { return "
© COPYRIGHT ".date("Y").", TERRA NETWORKS BRASIL S.A.
Em caso de dúvidas entre em contato com 0800 777 9797
Av. Engenheiro Luís Carlos Berrini, 1376 - 13º andar - Cidade Monções, São Paulo - SP, 04571-936. CNPJ 91.088.328/0001-67.
www.terra.com.br ou Fale conosco
"; } ?>